SwiftUI: State variable from observed singleton property leads to error

welcome to shbcf.ru